<?php if (!defined('THINK_PATH')) exit(); /*a:2:{s:61:"D:\Wamp\wamp64\www\canny/app/admin\view\merge\about_edit.html";i:1531882943;s:66:"D:\Wamp\wamp64\www\canny/app/admin\view\layout\edit_btn_group.html";i:1531444261;}*/ ?>
<form action="<?php echo url(); ?>" method="post" class="form_single">
    <div class="box">
        <div class="box-body">
            <div class="row">
                <div class="col-md-6">
                    <div class="form-group">
                        <label>标题</label>
                        <span class="">（文章标题名称）</span>
                        <input class="form-control" name="name" placeholder="请输入文章标题名称" value="<?php echo (isset($info['name']) && ($info['name'] !== '')?$info['name']:''); ?>" type="text">
                    </div>
                </div>

                <div class="col-md-6">
                    <div class="form-group">
                        <label>多图片</label>
                        <span class="">（请上传多图片）</span>
                        <br/>

                        <?php $img_ids = (isset($info['img_ids']) && ($info['img_ids'] !== '')?$info['img_ids']:''); ?>
                        <?php echo widget('file/index', ['name' => 'img_ids', 'value' => $img_ids, 'type' => 'imgs']); ?>

                    </div>
                </div>

                <div class="col-md-12">
                    <div class="form-group">
                        <label>公司简介--About</label>
                        <textarea class="form-control textarea_editor" name="content" placeholder="请输入文章内容"><?php echo (isset($info['content']) && ($info['content'] !== '')?$info['content']:''); ?></textarea>
                        <?php echo widget('editor/index', array('name'=> 'content','value'=> '')); ?>
                    </div>
                </div>

                <div class="col-md-12">
                    <div class="form-group">
                        <label>公司简介--Us</label>
                        <textarea class="form-control textarea_editor" name="content_second" placeholder="请输入文章内容"><?php echo (isset($info['content_second']) && ($info['content_second'] !== '')?$info['content_second']:''); ?></textarea>
                        <?php echo widget('editor/index', array('name'=> 'content_second','value'=> '')); ?>
                    </div>
                </div>
                
                <div class="col-md-12">
                    <div class="form-group">
                        <label>联系方式</label>
                        <textarea class="form-control textarea_editor" name="content_third" placeholder="请输入文章内容"><?php echo (isset($info['content_third']) && ($info['content_third'] !== '')?$info['content_third']:''); ?></textarea>
                        <?php echo widget('editor/index', array('name'=> 'content_third','value'=> '')); ?>
                    </div>
                </div>

            </div>

            <div class="box-footer">

                <input type="hidden" name="id" value="<?php echo (isset($info['id']) && ($info['id'] !== '')?$info['id']:'0'); ?>"/>

                <button  type="submit" class="btn ladda-button ajax-post" data-style="slide-up" target-form="form_single">
    <span class="ladda-label"><i class="fa fa-send"></i> 确 定</span>
</button>

<a class="btn" onclick="javascript:history.back(-1);return false;"><i class="fa fa-history"></i> 返 回</a>

            </div>

        </div>
    </div>
</form>